//
//  SDPhoto.m
//  SKinDiary
//
//  Created by pcyang on 16/7/3.
//  Copyright © 2016年 tencent. All rights reserved.
//

#import "SDPhotoInfo.h"

@implementation SDPhotoInfo
+ (NSString*)propertyNameFromParsedKey:(NSString*)key
{
    NSString* property = nil;
    
    if ([key isEqualToString:@"createTime"])
        property = @"creationTime";
    
    return property;
}

- (void)copyTag:(SDPhotoInfo *)photoInfo
{
    if (photoInfo) {
        self.patientId = photoInfo.patientId;
        self.tag = photoInfo.tag;
        self.position = photoInfo.position;
        self.mode = photoInfo.mode;
        self.status = photoInfo.status;
        self.comments = photoInfo.comments;
        self.photoUrl = photoInfo.photoUrl;
    }
    
}
@end
